package org.tech4j.common.core.model.response;

import java.io.Serial;
import java.io.Serializable;

/**
 * @program: tech4j-common
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/1 21:34
 **/
public class BaseResponse implements Serializable {
    @Serial
    private static final long serialVersionUID = 7801922340210297565L;

    private Boolean success;

    private String responseCode;

    private String responseMessage;


    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }

    @Override
    public String toString() {
        return "BaseResponse{" +
                "success=" + success +
                ", responseCode='" + responseCode + '\'' +
                ", responseMessage='" + responseMessage + '\'' +
                '}';
    }
}
